﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PandemiaAdmin.Entidades;

namespace PandemiaAdminNet.Conexiones
{
    public partial class FrmServidor : Form
    {
        public FrmServidor(Servidor servidor)
        {
            InitializeComponent();
            bsServidor.DataSource = servidor;
        }

        private void btnGuardar_Click(object sender, EventArgs e)
        {
            DialogResult = System.Windows.Forms.DialogResult.OK;
        }

        private void btnCancelar_Click(object sender, EventArgs e)
        {
            DialogResult = System.Windows.Forms.DialogResult.Cancel;
        }
    }
}
